{template 'app_common/header'}

<link rel="stylesheet" href="{KB_WEB_BACK_JS}/lightbox/css/lightbox.css"/>

<script>
    document.title = '待回复详情';
</script>

<body>

<section class="g-flexview">
    <div class="g-scrollview">
        <div class="m-celltitle" style="margin-top: 0.2rem">问题所属分类</div>
        <div class="currentClass" style="height: auto">
            <div>{$detail['cat_name']}</div>
            {if $detail['child_cat_id'] != 0}
            <div><span>——</span>{$detail['child_cat_name']}</div>
            {/if}
        </div>
        <div class="m-celltitle" style="margin-top: 0.2rem">当前状态</div>
        <div class="m-cell changecell">
            <div class="cell-item" style="border-bottom: 1px solid #d9d9d9">
                <div class="cell-right">
                    <textarea readonly="readonly" class="cell-textarea" maxlength="800" name="textarea" style="text-indent: 2em;height: 1.7rem;">亲爱的客户您好~我们的客服人员正在绞尽脑汁解决您的疑问~请稍候哦~我们做出答复时将以微信通知形式告知您~</textarea>
                </div>
            </div>
        </div>
        <div class="m-celltitle" style="margin-top: 0.2rem">具体疑问</div>
        <div class="m-cell changecell">
            <div class="cell-item" style="border-bottom: 1px solid #d9d9d9">
                <div class="cell-right">
                    <p style="text-indent: 2em;font-size: 0.3rem;padding: .1rem 0;text-align: left;width: 100%;word-wrap:break-word">
                    {$detail['content']}
                    </p>
                </div>
            </div>
        </div>
        {if $detail['pic']}
        <div class="clear" style="padding:0 0.1rem">
            {loop $detail['pic'] $index $pic}
                <a href="{php echo tomedia($pic)}" data-lightbox="roadtrip">
                <img src="{php echo tomedia($pic)}" alt="" style="width: 1.5rem;height: 1.5rem; float: left;margin: 0.15rem .15rem;border-radius: 5px;">
            </a>
            {/loop}
        </div>
        {/if}
    </div>
    <div class="creatGd">
        <div style="display: flex;">
            <a href="{php echo $this->createMobileUrl('order', array('act' => 'create', 'order_id' => $detail['order_id']))}" class="btn-block btn-primary" style="margin-right: 10px; margin-top: 0">修改工单</a>
            <a class="btn-block btn-hollow" href="{php echo $this->createMobileUrl('index', array('act' => 'index'))}" style="margin-top: 0">返回</a>
        </div>

        {template 'app_common/footer'}
    </div>
</section>

<script src="{KB_APP_JS}/jquery-3.2.1.min.js"></script>
<script src="{KB_APP_JS}/ydui.flexible.js"></script>
<script src="{KB_WEB_BACK_JS}/lightbox/js/lightbox.js"></script>
<script>
    lightbox.option({
        'alwaysShowNavOnTouchDevices' : true
    });
</script>


</body>
</html>